home *** CD-ROM | disk | FTP | other *** search
/ Champak 140 / (Vol 140) Sep 19 2011.iso / Games / red_cross_eru.swf / scripts / __Packages / gamebase / need / NeedThirsty.as < prev    next >
Text File  |  2011-09-19  |  8KB  |  214 lines

  1. §§push(true);
  2. §§push(false);
  3. §§push(false);
  4. §§push(true);
  5. while(true)
  6. {
  7.    if(┬º┬ºpop())
  8.    {
  9.    }
  10.    if(┬º┬ºpop())
  11.    {
  12.    }
  13.    if(┬º┬ºpop())
  14.    {
  15.       break;
  16.    }
  17.    ┬º┬ºpush(true);
  18.    ┬º┬ºpush(false);
  19. }
  20. if(!e.f)
  21. {
  22.    e.f = new g();
  23. }
  24. §§pop();
  25. if(!e.f.h)
  26. {
  27.    e.f.h = new g();
  28. }
  29. §§pop();
  30. if(!e.f.h[§§constant(4)])
  31. {
  32.    f.h[┬º┬ºconstant(4)] extends f.h[┬º┬ºconstant(39)];
  33.    var _loc2_ = f.h[┬º┬ºconstant(4)] = function(pparent)
  34.    {
  35.       super();
  36.       this[┬º┬ºconstant(5)] = ┬º┬ºconstant(4);
  37.       this[┬º┬ºconstant(6)] = pparent;
  38.       this[┬º┬ºconstant(7)] = ┬º┬ºconstant(8);
  39.       this[┬º┬ºconstant(9)] = "h";
  40.       this[┬º┬ºconstant(10)] = [f[┬º┬ºconstant(11)][┬º┬ºconstant(12)]];
  41.       this[┬º┬ºconstant(13)] = [f[┬º┬ºconstant(14)][┬º┬ºconstant(15)]];
  42.       this[┬º┬ºconstant(16)] = _global[┬º┬ºconstant(17)];
  43.       this[┬º┬ºconstant(18)] = 1;
  44.       this[┬º┬ºconstant(19)] = 0;
  45.       this[┬º┬ºconstant(20)] = 1300;
  46.       this[┬º┬ºconstant(21)] = 600;
  47.       this[┬º┬ºconstant(22)] = f[┬º┬ºconstant(23)][┬º┬ºconstant(24)][┬º┬ºconstant(25)](70000,20);
  48.       this[┬º┬ºconstant(26)] = 0;
  49.       this[┬º┬ºconstant(27)] = 0;
  50.       this[┬º┬ºconstant(28)] = {┬º\┬º\┬ºconstant(29)┬º:3,┬º\┬º\┬ºconstant(30)┬º:this[┬º┬ºconstant(6)],┬º\┬º\┬ºconstant(31)┬º:_global[┬º┬ºconstant(32)],┬º\┬º\┬ºconstant(33)┬º:f[┬º┬ºconstant(14)][┬º┬ºconstant(15)],┬º\┬º\┬ºconstant(34)┬º:this[┬º┬ºconstant(5)]};
  51.       this[┬º┬ºconstant(35)]();
  52.       f[┬º┬ºconstant(23)][┬º┬ºconstant(37)][┬º┬ºconstant(38)](this,this[┬º┬ºconstant(36)],1000);
  53.    }[┬º┬ºconstant(40)];
  54.    _loc2_[┬º┬ºconstant(35)] = function()
  55.    {
  56.       var _loc4_ = new ┬º\┬º\┬ºconstant(41)┬º();
  57.       var _loc5_ = this[┬º┬ºconstant(6)][┬º┬ºconstant(42)][┬º┬ºconstant(43)];
  58.       var _loc2_ = 0;
  59.       while(_loc2_ < _loc5_)
  60.       {
  61.          var _loc6_ = this[┬º┬ºconstant(6)][┬º┬ºconstant(42)][_loc2_];
  62.          var _loc3_ = _loc6_[┬º┬ºconstant(44)][┬º┬ºconstant(45)](this[┬º┬ºconstant(7)]);
  63.          if(_loc3_ < _loc6_[┬º┬ºconstant(46)])
  64.          {
  65.             _loc4_[┬º┬ºconstant(47)](_loc6_);
  66.          }
  67.          _loc6_[┬º┬ºconstant(48)] = _loc3_;
  68.          _loc6_[┬º┬ºconstant(49)][┬º┬ºconstant(50)]();
  69.          _loc2_ = _loc2_ + 1;
  70.       }
  71.       if(_loc4_[┬º┬ºconstant(43)] > 0)
  72.       {
  73.          _loc6_ = f[┬º┬ºconstant(23)][┬º┬ºconstant(51)][┬º┬ºconstant(52)](_loc4_);
  74.          _loc6_[┬º┬ºconstant(44)][┬º┬ºconstant(53)](1,this[┬º┬ºconstant(18)]);
  75.          f[┬º┬ºconstant(23)][┬º┬ºconstant(37)][┬º┬ºconstant(38)](this,this[┬º┬ºconstant(35)],20);
  76.       }
  77.    };
  78.    _loc2_[┬º┬ºconstant(54)] = function()
  79.    {
  80.       if(this[┬º┬ºconstant(55)])
  81.       {
  82.          return undefined;
  83.       }
  84.       if(this[┬º┬ºconstant(56)])
  85.       {
  86.          if(!this[┬º┬ºconstant(57)](this[┬º┬ºconstant(56)]))
  87.          {
  88.             this[┬º┬ºconstant(6)][┬º┬ºconstant(58)](this[┬º┬ºconstant(56)]);
  89.             return undefined;
  90.          }
  91.          this[┬º┬ºconstant(59)] = false;
  92.          this[┬º┬ºconstant(26)] += 40;
  93.          if(this[┬º┬ºconstant(26)] < this[┬º┬ºconstant(21)])
  94.          {
  95.             return undefined;
  96.          }
  97.          this[┬º┬ºconstant(26)] = 0;
  98.          var _loc4_ = this[┬º┬ºconstant(60)]();
  99.          var _loc3_ = f[┬º┬ºconstant(23)][┬º┬ºconstant(51)][┬º┬ºconstant(52)](_loc4_);
  100.          if(_loc3_)
  101.          {
  102.             _global[┬º┬ºconstant(61)][┬º┬ºconstant(62)][┬º┬ºconstant(8)]++;
  103.             _global[┬º┬ºconstant(61)][┬º┬ºconstant(63)]();
  104.             _loc3_[┬º┬ºconstant(44)][┬º┬ºconstant(53)](1,this[┬º┬ºconstant(19)]);
  105.             if(f[┬º┬ºconstant(23)][┬º┬ºconstant(24)][┬º┬ºconstant(67)](this[┬º┬ºconstant(6)][┬º┬ºconstant(66)],this[┬º┬ºconstant(6)][┬º┬ºconstant(65)],_global[┬º┬ºconstant(64)][┬º┬ºconstant(66)],_global[┬º┬ºconstant(64)][┬º┬ºconstant(65)]) < 500)
  106.             {
  107.                _global[┬º┬ºconstant(69)][┬º┬ºconstant(70)](┬º┬ºconstant(68),100,0,1,1);
  108.             }
  109.          }
  110.          this[┬º┬ºconstant(71)]();
  111.       }
  112.       else
  113.       {
  114.          if(this[┬º┬ºconstant(59)])
  115.          {
  116.             if(this[┬º┬ºconstant(72)])
  117.             {
  118.                return undefined;
  119.             }
  120.             this[┬º┬ºconstant(73)] += 40;
  121.             this[┬º┬ºconstant(27)] += 40;
  122.             if(this[┬º┬ºconstant(27)] < this[┬º┬ºconstant(20)])
  123.             {
  124.                return undefined;
  125.             }
  126.             this[┬º┬ºconstant(27)] = 0;
  127.             _loc3_ = f[┬º┬ºconstant(23)][┬º┬ºconstant(51)][┬º┬ºconstant(52)](this[┬º┬ºconstant(6)][┬º┬ºconstant(42)]);
  128.             _loc3_[┬º┬ºconstant(44)][┬º┬ºconstant(74)](┬º┬ºconstant(8));
  129.             if(this[┬º┬ºconstant(73)] > this[┬º┬ºconstant(22)])
  130.             {
  131.                this[┬º┬ºconstant(72)] = true;
  132.                this[┬º┬ºconstant(6)][┬º┬ºconstant(76)](┬º┬ºconstant(75));
  133.                f[┬º┬ºconstant(79)][┬º┬ºconstant(80)][┬º┬ºconstant(81)](_global[┬º┬ºconstant(78)],false,┬º┬ºconstant(77));
  134.             }
  135.             return undefined;
  136.          }
  137.          this[┬º┬ºconstant(27)] += 40;
  138.          if(this[┬º┬ºconstant(27)] < this[┬º┬ºconstant(20)])
  139.          {
  140.             return undefined;
  141.          }
  142.          this[┬º┬ºconstant(27)] = 0;
  143.          _loc3_ = f[┬º┬ºconstant(23)][┬º┬ºconstant(51)][┬º┬ºconstant(52)](this[┬º┬ºconstant(6)][┬º┬ºconstant(42)]);
  144.          _loc3_[┬º┬ºconstant(44)][┬º┬ºconstant(53)](1,this[┬º┬ºconstant(18)]);
  145.          this[┬º┬ºconstant(82)]();
  146.       }
  147.    };
  148.    _loc2_[┬º┬ºconstant(60)] = function()
  149.    {
  150.       var _loc5_ = new ┬º\┬º\┬ºconstant(41)┬º();
  151.       var _loc6_ = this[┬º┬ºconstant(6)][┬º┬ºconstant(42)][┬º┬ºconstant(43)];
  152.       var _loc2_ = 0;
  153.       while(_loc2_ < _loc6_)
  154.       {
  155.          var _loc3_ = this[┬º┬ºconstant(6)][┬º┬ºconstant(42)][_loc2_];
  156.          var _loc4_ = _loc3_[┬º┬ºconstant(44)][┬º┬ºconstant(45)](this[┬º┬ºconstant(7)]);
  157.          if(_loc4_ > 0)
  158.          {
  159.             _loc5_[┬º┬ºconstant(47)](_loc3_);
  160.          }
  161.          _loc2_ = _loc2_ + 1;
  162.       }
  163.       return _loc5_;
  164.    };
  165.    _loc2_[┬º┬ºconstant(71)] = function()
  166.    {
  167.       this[┬º┬ºconstant(83)] = true;
  168.       var _loc5_ = this[┬º┬ºconstant(6)][┬º┬ºconstant(42)][┬º┬ºconstant(43)];
  169.       var _loc3_ = 0;
  170.       while(_loc3_ < _loc5_)
  171.       {
  172.          var _loc2_ = this[┬º┬ºconstant(6)][┬º┬ºconstant(42)][_loc3_];
  173.          var _loc4_ = _loc2_[┬º┬ºconstant(44)][┬º┬ºconstant(45)](this[┬º┬ºconstant(7)]);
  174.          _loc2_[┬º┬ºconstant(48)] = _loc4_;
  175.          _loc2_[┬º┬ºconstant(49)][┬º┬ºconstant(84)]();
  176.          _loc2_[┬º┬ºconstant(49)][┬º┬ºconstant(50)]();
  177.          if(_loc4_ > 0)
  178.          {
  179.             this[┬º┬ºconstant(83)] = false;
  180.          }
  181.          _loc3_ = _loc3_ + 1;
  182.       }
  183.       if(this[┬º┬ºconstant(83)])
  184.       {
  185.          this[┬º┬ºconstant(55)] = true;
  186.          f[┬º┬ºconstant(23)][┬º┬ºconstant(37)][┬º┬ºconstant(38)](this[┬º┬ºconstant(6)],this[┬º┬ºconstant(6)][┬º┬ºconstant(85)],300,this);
  187.       }
  188.    };
  189.    _loc2_[┬º┬ºconstant(82)] = function()
  190.    {
  191.       this[┬º┬ºconstant(59)] = true;
  192.       var _loc5_ = this[┬º┬ºconstant(6)][┬º┬ºconstant(42)][┬º┬ºconstant(43)];
  193.       var _loc3_ = 0;
  194.       while(_loc3_ < _loc5_)
  195.       {
  196.          var _loc2_ = this[┬º┬ºconstant(6)][┬º┬ºconstant(42)][_loc3_];
  197.          var _loc4_ = _loc2_[┬º┬ºconstant(44)][┬º┬ºconstant(45)](this[┬º┬ºconstant(7)]);
  198.          _loc2_[┬º┬ºconstant(48)] = _loc4_;
  199.          _loc2_[┬º┬ºconstant(49)][┬º┬ºconstant(50)]();
  200.          if(_loc4_ < _loc2_[┬º┬ºconstant(46)])
  201.          {
  202.             this[┬º┬ºconstant(59)] = false;
  203.          }
  204.          _loc3_ = _loc3_ + 1;
  205.       }
  206.       if(this[┬º┬ºconstant(59)])
  207.       {
  208.          this[┬º┬ºconstant(73)] = 0;
  209.       }
  210.    };
  211.    ┬º┬ºpush(┬º┬ºconstant(86)(f.h[┬º┬ºconstant(4)][┬º┬ºconstant(40)],null,1));
  212. }
  213. §§pop();
  214.